package com.briup.server.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Schema(description = "实验室预约信息VO")
@Data
public class RentalInfoVO {
    @Schema(description = "预约ID")
    private String id;
    @Schema(description = "实验室名称")
    private String labsName;
    @Schema(description = "预约人名字")
    private String rentalUserName;
    @Schema(description = "预约日期")
    private LocalDate rentalDate;
    @Schema(description = "预约时间段")
    private String rentalTimeSlot;
    @Schema(description = "预约状态")
    private Integer approvalStatus;
    @Schema(description = "是否具有审批权限")
    private boolean hasApprovalPermission;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
